package kr.hkit.powerjava.chapter12.Programming05;

public class Cube extends Shape implements ThreeDimshape {

	private double width, height, length;

	@Override
	public double getVolume() {
		// 부피=가로×세로×높이
		return width * height * length;
	}
}
